

<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	</head>
	<link rel="stylesheet" type="text/css" href="mannage.css"/>
	<link rel="stylesheet" type="text/css" href="../../css/iconfont.css"/>
	<link rel="stylesheet" type="text/css" href="../../css/mui.min.css"/>
	<body  style="padding-top:2.5rem">
	  <header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 id="title" class="mui-title">商品管理</h1>
		</header>
<div class="main">
  <div class='home_top'>
    <div class='category'  bindtap="clickPerson" id='{{shop_id}}'>
         <p>选择类别</p> <div class='iconfont icon-arr'></div>
    </div>
    <div class='search'>
      <form bindsubmit='search'>
        <input type="text"  name='search' placeholder="快速搜索商品"></input>
         <button class='iconfont icon-search' form-type='submit'></button> 
        <!-- <text class='iconfont icon-search' form-type='submit'></text> -->
      </form>
    </div>
    <div class='menu iconfont icon-menu'  bindtap="toCat" id='{{shop_id}}'>
    	 
    </div>
  </div>
  <div class='goods'>
    <div class='list' wx:for="{{arr}}" wx:key="" data-id="{{index}}">
      <div class='left fl'> <image src='{{url}}{{item.goods_img}}'></image> </div>
      <div class='right fr'>
        <div class='name'></div>
        <div class='center'> <p>所属类别：饮料</p> <p class='num'>月销量30件</p> </div>
        <div class='down'> 
          <div class='price'> <p class='iconfont icon-rem'>￥5元</p></div>
          <div class='btn fr'>
          	<button class='off' bindtap="toDel" data-id='{{index}}' id='{{item.goods_id}}' plain="true">下架</button> 
          	<button class='edit' bindtap="toEdit" id='{{item.goods_id}}' plain="true">编辑</button>
          </div> 
        </div>
      </div>
    </div>
  </div>
<div class="person_box">
  <div class="phone_select" hidden="{{selectPerson}}">
    <div class="select_one"   >  </div>
  </div>
</div> 

</div>

	</body>
</html>
<script type="text/javascript" src="../../js/mui.js"></script>
<script src="../../js/mui.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
		mui.init({
			swipeBack:true //启用右滑关闭功能
		});
</script>
